:root {
    --sidebar-width: 256px;
    --primary-color2: #6C5DD3;
    --primary-color: linear-gradient( 135deg, #CE9FFC 10%, #7367F0 100%);
    --second-color: #CFC8FF;
    /* --second-color: linear-gradient( 135deg, rgba(206, 159, 252, 0.5) 10%, rgba(115, 103, 240, 0.5) 100%); */
    --background-color: #fff;
    --grey-color: #e4e4e4;
    --input-background-color: #f7f7f7;
    --font-grey-color: #808191;
    --text-active-color: #11142D;
    --shadow-color: #e3e6ec;
    --other-color-1: #FFA2C0;
    --other-color-2: #FFCE73;
    --other-color-3: #A0D7E7;
    --blue-color: #5F75EE;
    --blue-color2: #3F8CFF;
    --error-hover-color: #f76560;
    --error-base-color: #f53f3f;
    --error-click-color: #cb2634;
    --logo-text-width: 70.17px;
    --logo-margin-top: 0;
    --red-dot-size: 24px;
    --logo-height: 96px;
    --logo-line: 0;
    --nav-font-size: 14px;
    --menu-margin-top: 0px;
    --right-box-width: 426px;
    --search-input-width: 48px;
    --card-border-radius: 24px;
}

.sidebar {
    width: var(--sidebar-width);
    position: fixed;
    float: left;
    top: 0;
    border-right: 1px solid var(--grey-color);
    background-color: var(--background-color);
    bottom: 0;
    height: 100vh;
    transition: all .3s ease-out;
    border-left: 1px solid var(--grey-color);
    box-sizing: border-box;
    z-index: 999;
}

.container {
    margin-left: var(--sidebar-width);
}

.logo {
    position: relative;
    text-align: left;
    overflow: hidden;
    padding-left: 32px;
    height: var(--logo-height);
    margin-top: var(--logo-margin-top);
    line-height: 96px;
    width: var(--sidebar-width);
    transition: all .3s ease-out;
}

.logo-item {
    vertical-align: middle;
    transition: all .3s ease-out;
}

#logo-text {
    width: var(--logo-text-width);
}

.sidebar .line {
    position: absolute;
    top: 96px;
    width: var(--logo-line);
    height: 1px;
    background: var(--grey-color);
    transition: all .3s ease-out;
}

.burger {
    position: absolute;
    height: 56px;
    width: 56px;
    top: 20px;
    right: 20px;
    border-radius: 12px;
    background: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s ease-out;
}

.burger:hover {
    color: #fff;
    background: var(--second-color);
    transition: all .2s ease-out;
}

.burger:active {
    background: var(--primary-color);
}

.menu {
    width: calc(100% - 20px);
    margin-left: 20px;
    text-align: center;
    height: calc(100% - (192px + var(--menu-margin-top)));
    overflow-x: hidden;
    overflow-y: auto;
}

.menu::-webkit-scrollbar {
    width: 6px;
}

.menu::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
    background-color: var(--primary-color);
}

.menu::-webkit-scrollbar-track {
    border-radius: 10px;
}

.menu .admin-tools {
    text-align: left;
    padding-left: 9px;
    /* padding-right: 20px; */
    margin-right: 20px;
    margin-bottom: 20px;
    height: 32px;
    /* width: 100%; */
    overflow: hidden;
    /* background: #CFC8FF; */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: #808191;
}

.menu .menu-list {
    position: relative;
}

.menu .menu-list::before {
    content: '';
    position: absolute;
    height: 1px;
    width: calc(var(--sidebar-width) - 40px);
    bottom: -20px;
    left: 0;
    background: #F0F3F6;
}

.menu li {
    position: relative;
    margin-bottom: 2px;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
    width: calc(var(--sidebar-width) - 40px);
    height: 56px;
    text-align: left;
    border-radius: 12px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: var(--nav-font-size);
    line-height: 56px;
    color: #808191;
    background: transparent;
    transition: all .3s ease-out;
    overflow: hidden;
}

.red-dot {
    margin-top: 16px;
    height: var(--red-dot-size);
    width: var(--red-dot-size);
    border-radius: 50%;
    color: #fff;
    padding: 0;
    font-size: calc(var(--red-dot-size) / 2);
    line-height: 24px;
    text-align: center;
    background: #FF754C;
    transition: all .3s ease-out;
}

.menu li:hover {
    color: #fff;
    background: var(--second-color);
    transition: all .2s ease-out;
}

.menu li .icon {
    position: absolute;
    display: inline-block;
    top: 16px;
    height: 24px;
    width: 24px;
}

.menu li .icon svg {
    position: absolute;
    top: 0;
}

.menu li .headline {
    position: absolute;
    left: 60px;
}

.menu li.menu-active {
    color: #fff;
    background: var(--primary-color);
}

.menu .insights {
    text-align: left;
    margin-left: 9px;
    margin-top: 30px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: var(--font-grey-color);
}

.menu .insights-list {
    margin-left: 0px;
    margin-top: 10px;
    text-align: left;
    padding-bottom: 10px;
}

.menu .insights-list .insights-item {
    margin-left: 0;
}

.sidebar .account {
    position: absolute;
    bottom: 0px;
    background: #fff;
    height: 96px;
    width: 100%;
    padding-top: 28px;
    box-sizing: border-box;
    text-align: left;
    overflow: hidden;
}

.account .avatar {
    position: absolute;
    height: 40px;
    width: 40px;
    left: 28px;
    border-radius: 50%;
    cursor: pointer;
}

.account .account-name {
    position: absolute;
    top: 26px;
    height: 20px;
    white-space: nowrap;
    overflow: hidden;
    color: var(--text-active-color);
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    left: 96px;
}

.account .account-type {
    white-space: nowrap;
    position: absolute;
    left: 96px;
    top: 47px;
    font-size: 13px;
    line-height: 18px;
    color: var(--font-grey-color);
}


/* ---------------------------------------- main-box ---------------------------------------------- */

.main-window {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    background: var(--background-color);
    position: relative;
    transition: all .3s ease-out;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.middle-box {
    box-sizing: border-box;
    background: var(--background-color);
    width: 64%;
    min-height: 100vh;
    height: auto;
    padding: 40px 64px 32px 64px;
    transition: all .3s ease-out;
}

.right-box {
    width: 36%;
    height: auto;
    min-height: 100vh;
    background: var(--background-color);
    /* background: rgba(0, 0, 0, 0.2); */
    border-left: 1px solid var(--grey-color);
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    transition: all .3s ease-out;
    padding: 172px 65px 0 64px;
}

.welcome {
    text-align: left;
}

.welcome .subtitle {
    color: var(--text-active-color);
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
}

.welcome .title {
    color: var(--text-active-color);
    font-size: 40px;
    line-height: 60px;
    font-weight: 600;
}


/* ----------------- Banner --------------- */

.banner {
    position: relative;
    width: 100%;
    height: 331px;
    margin-top: 48px;
    transition: all .3s ease-out;
}

.banner .behind-card {
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    margin: 0 auto;
    backdrop-filter: blur(2px);
    background: var(--second-color);
    opacity: 0.6;
    height: 100%;
    border-radius: 24px;
    transition: all .3s ease-out;
}

.banner .behind-card:nth-child(1) {
    width: 92%;
    top: 16px;
}

.banner .behind-card:nth-child(2) {
    width: 96%;
}

.banner .front-card {
    user-select: none;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-color);
    height: 100%;
    width: 100%;
    border-radius: 24px;
    /* overflow: ; */
    transition: all .3s ease-out;
}

.banner-list {
    height: 100%;
}

.banner-list>li {
    position: relative;
    height: 100%;
}

.banner-list .text {
    padding: 0 32px;
    box-sizing: border-box;
    color: #fff;
    text-align: left;
    width: 50%;
    transition: all .3s ease-out;
}

.banner-list .text .headline {
    margin-top: 56px;
    font-size: 26px;
    line-height: 32px;
    height: 64px;
}

.banner-list .text .content {
    height: 72px;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    margin-top: 14px;
}

.banner-list .text .btn {
    margin-top: 14px;
    border-radius: 16px;
    height: 56px;
    width: 158px;
    text-align: center;
    line-height: 56px;
    background: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all .3s ease-out;
    color: var(--text-active-color);
}

.banner-list .fr {
    position: relative;
    height: 100%;
    transition: all .3s ease-out;
    width: 50%;
}

.banner-list .ball {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
}

.card-shadow {
    transition: box-shadow .2s ease-out;
    box-shadow: 10px 10px 20px -5px rgba(0, 0, 0, 0.2), -10px -10px 20px -10px rgba(255, 255, 255, 0.6);
}

.card-shadow:hover {
    transition: all .2s ease-out;
    box-shadow: none;
}

.card-shadow:active {
    transform: scale(0.95);
    transition: all .1s ease-out;
    box-shadow: 0px 0px 0px -5px rgba(0, 0, 0, 0.2), 0px 0px 0px -10px rgba(255, 255, 255, 0.6), inset 5px 5px 10px -5px rgba(0, 0, 0, 0.3), inset -10px -10px 20px -10px rgba(255, 255, 255, 0.6);
}

.card {
    position: relative;
    margin-top: 32px;
    height: 398px;
    width: calc(50% - 16px);
    transition: all .3s ease-out;
}

.card:hover .shadow {
    opacity: 1;
    transition: all .3s ease-out;
}

.card .shadow {
    position: absolute;
    height: calc(100% + 40px);
    width: 88.2%;
    left: 6.04%;
    right: 5.7%;
    top: 5.03%;
    background: #E3E6EC;
    mix-blend-mode: multiply;
    /* opacity: 0.91; */
    opacity: 0.5;
    filter: blur(86.985px);
    border-radius: var(--card-border-radius);
    transition: all .3s ease-out;
}

.card .bg {
    /* position: absolute; */
    position: relative;
    text-align: left;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    border-radius: var(--card-border-radius);
    left: 0%;
    right: 0%;
    top: 0%;
    /* z-index: 0; */
    background: var(--background-color);
}


/** iPad **/

@media only screen and (min-width: 768px) and (max-width: 1224px) {
    .middle-box {
        width: 100%;
        transition: all .3s ease-out;
    }
    .right-box {
        width: 100%;
        transition: all .3s ease-out;
        border-left: none;
        padding-top: 0;
    }
}


/** iPhone **/

@media only screen and (min-width: 320px) and (max-width: 767px) {
    .main-window {
        margin-left: 0;
        width: 100%;
        transition: all .3s ease-out;
    }
    .middle-box {
        width: 100%;
        transition: all .3s ease-out;
    }
    .right-box {
        width: 100%;
        transition: all .3s ease-out;
        border-left: none;
        padding-top: 0;
    }
    .sidebar {
        width: 0px;
        transition: all .3s ease-out;
    }
    .card {
        width: 100%;
    }
    .banner {
        height: 540px;
    }
    .banner-list .text {
        padding: 16px 32px 0 32px;
        width: 100%;
        text-align: center;
        height: 50%;
    }
    .banner-list .text .btn {
        width: 100%;
    }
    .banner-list .fr {
        height: 50%;
        width: 100%;
    }
}